package com.ynet.middleground.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 法定代表人授权委托书信息查看
 * </p>
 *
 * @author Songyf
 * @since 2020-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ur_authorizationbookurl")
public class Authorizationbookurl extends Model<Authorizationbookurl>{

	private static final long serialVersionUID = -274769973971044258L;

	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 渠道
     */
    private String channel;

    /**
     * 法定代表人授权委托书（影像资料）URL
     */
    private String authorizationBookUrl;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 创建人
     */
    private Integer createBy;

    /**
     * 修改时间
     */
    private LocalDateTime gmtModified;

    /**
     * 修改人
     */
    private Integer modifiedBy;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
